
// This function shows output text box and fills it with
// the corresponding text.  The variable number represents
// the hotspot number.  
function showText( number )
{
	// show the output box
	document.getElementById( "output-box" ).style.display = "block";
	
	if( number == 1 )
	{
		document.getElementById( "output-text" ).innerHTML = "An orbit that is shaped as an ellipse rather than a circle.";
	}
	else if( number == 2 )
	{
		document.getElementById( "output-text" ).innerHTML = "The force that pulls two solar objects together and keeps them from moving apart.";
	}
	else if( number == 3 )
	{
		document.getElementById( "output-text" ).innerHTML = "The force that attracts a body toward the center of the Earth, or toward any other physical body having mass.";
	}
	else if( number == 4 )
	{
		document.getElementById( "output-text" ).innerHTML = "Warming of the surface and lower atmosphere of a planet (as Earth or Venus) that is caused by conversion of solar radiation into heat.";
	}
	else if( number == 5 )
	{
		document.getElementById( "output-text" ).innerHTML = "The electric current created by a magnetic force on a planet, the magnetic field repels charged space particles which protects the planet’s atmosphere.";
	}
	else if( number == 6 )
	{
		document.getElementById( "output-text" ).innerHTML = "Able to keep being or supporting.";
	}
	else if( number == 7 )
	{
		document.getElementById( "output-text" ).innerHTML = "Energy emitted from a solar body, especially the Sun.";
	}
}

//function hideOutput()
//{
//	document.getElementById( "output-box" ).style.display = "none";
//}